package com.zr.planclass.service;

import com.zr.planclass.pojo.PlanClassAddVo;
import com.zr.planclass.pojo.PlanClassSelectVo;
import com.zr.planclass.pojo.PlanClassUpdateVo;
import com.zr.planclass.pojo.PlanClassUpdateStatusVo;
import com.zr.util.ResultVo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import javax.validation.Valid;
import java.util.List;

/**
 * Created by Administrator on 2019/9/21.
 */
public interface PlanClassService {

    ResultVo queryPage(PlanClassSelectVo planClassSelectVo);

    ResultVo add(@Valid List<PlanClassAddVo> planClassAddVoList);

    ResultVo update(@Valid PlanClassUpdateVo planClassUpdateVo);

    ResultVo updateStatus(@Valid PlanClassUpdateStatusVo planClassUpdateStatusVo);

    ResultVo importFile(MultipartFile file)throws Exception;

//    ResultVo exportExcel(HttpServletResponse resp, PlanClassSelectVo planClassSelectVo)throws Exception;
}
